package designPattern.adapter.voltage;

public class JapanToChinaVoltageAdapter implements VoltageAdapter {

	private Appliance appliance;

	@Override
	public void changeVoltage() {
		appliance.setVoltage(220);
	}

	public JapanToChinaVoltageAdapter(Appliance appliance) {
		this.appliance = appliance;
	}
}
